<!--# layout("/common/layout.html",{"jsBase":"/js/cms/applyAccount/"}){ -->

<form class="layui-form " id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <label class="layui-form-label">委托书</label>
            <layui:attachment name="commission" batchFileUUID="${applyAccount.commission}" isNew="false"
                              bizType="User"/>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">

            <label class="layui-form-label">营业执照</label>
            <layui:attachment name="businessLicense" batchFileUUID="${applyAccount.businessLicense}" isNew="false"
                              bizType="User"/>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <label class="layui-form-label">身份证件</label>
            <layui:attachment name="idCard" batchFileUUID="${applyAccount.idCard}" isNew="false" bizType="User"/>
        </div>
    </div>
    </div>

    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">手机号码</label>
                <div class="layui-input-inline">
                    <input type="text" id="phone" name="phone" value="${applyAccount.phone}" lay-verify="required"
                           class="layui-input">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">企业名称</label>
                <div class="layui-input-inline">
                    <input type="text" id="companyName" name="companyName" value="${applyAccount.companyName}"
                           lay-verify="required" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">统一社会信用代码</label>
                <div class="layui-input-inline">
                    <input type="text" id="companyCode" name="companyCode" value="${applyAccount.companyCode}"
                           lay-verify="required" class="layui-input">
                </div>
            </div>
        </div>
    </div>
    <!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="id" value="${applyAccount.id}"/>
    <layui:submitButtons id="updateButton" text="生成企业账号"/>
</form>
<!--#} -->
<script>
    layui.use(['edit'], function () {
        var applyAccountEdit = layui.edit
        applyAccountEdit.init();
    });
</script>
